home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / skyburn.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  66 lines

  1. // defines Skyburn
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_SKYBURN_GSH
  8. #define INCLUDED_SKYBURN_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11. #include "skyburnfrag.gsh"
  12. #include "defaults.gsh"
  13.  
  14. hierarchy Hcy_Skyburn
  15. {
  16.     file "units\skyburn.RIF"
  17.     name "skyburn"
  18.     hotspot "dum flash "
  19. }
  20.  
  21. hierarchy Hcy_skyburn_shadow
  22. {
  23.     file "units\skyburn_shadow.RIF"
  24.     name "skyburn"
  25. }
  26.  
  27. character Chr_Skyburn : Chr_DefaultBaddie
  28. {
  29.     turning speed   0.5    // this is in revolutions per second
  30.     walking speed   1.0    // this is in animation cycles per second
  31.     weapon          plasma pistol
  32.     strength        25    // initial strength points
  33.     aim             1    // how many degrees off target he can be at most
  34.     height        20    // for targeting purposes
  35.     sight angle    30    // in degrees
  36.     sight range     15    // in metres
  37.     hearing range    12    // in metres
  38.     aggression    0.9    // from 0 to 1
  39.     gun yaw angle    0    // in degrees
  40.     vision cone        no
  41.     description        drone description
  42.     shadow hierarchy        Hcy_skyburn_shadow
  43. }
  44.  
  45. role Rol_Skyburn : Rol_DefaultRobot
  46. {
  47.     shape            Hcy_Skyburn
  48.     
  49.     character        Chr_Skyburn
  50.         
  51.     identifier        "skyburn"
  52.  
  53.     recon name        skyburn recon
  54.  
  55.     armour    1
  56.  
  57.     destructibility        Frg_skyburn
  58.  
  59.     ai                popup
  60. }
  61.  
  62. ////////////////////////////////////////////////////////////////////////////////////
  63.  
  64. // end wrapper - for preventing multiple or recursive inclusions
  65. #endif // !INCLUDED_SKYBURN_GSH
  66.